package com.yanqu.road.entity.activity.washe.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

@FieldTypeAnnotation(tableName = "t_u_washe_honor_moment")
public class WasheHonorMoment extends DataObject {

    @FieldTypeAnnotation(desc = "玩家昵称", select = true, update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "荣誉瞬间数据")
    private ConcurrentHashMap<Integer, WasheHonorMomentTemp> honorMomentTempMap = new ConcurrentHashMap<>();
    @FieldTypeAnnotation(desc = "最后一局达成荣誉数据")
    private List<WasheHonorMomentTemp> lastGameMomentTempList = new ArrayList<>();

    public WasheHonorMoment() {
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public ConcurrentHashMap<Integer, WasheHonorMomentTemp> getHonorMomentTempMap() {
        return honorMomentTempMap;
    }

    public void setHonorMomentTempMap(ConcurrentHashMap<Integer, WasheHonorMomentTemp> honorMomentTempMap) {
        this.honorMomentTempMap = honorMomentTempMap;
    }

    public List<WasheHonorMomentTemp> getLastGameMomentTempList() {
        return lastGameMomentTempList;
    }

    public void setLastGameMomentTempList(List<WasheHonorMomentTemp> lastGameMomentTempList) {
        this.lastGameMomentTempList = lastGameMomentTempList;
    }

}
